home *** CD-ROM | disk | FTP | other *** search
/ Best of Shareware / Best of PC Windows Shareware 1.0 - Wayzata Technology (7111) (1993).iso / mac / DOS / EDITORS / PEDIT / PEDIT.HLP < prev    next >
Text File  |  1992-11-09  |  47KB  |  584 lines

  1. ^^MOVE ABSOLUTE                                                               
  2. This function is accessible only with a mouse. When you click the <MLB> in    
  3. the any text window, the text cursor will be moved to the location of the     
  4. mouse pointer.                                                                
  5. ^^MOVE TOP                                                                    
  6. Positions the cursor to the first line of the buffer, scrolling or repaint-   
  7. ing the screen as necessary. pEDIT keeps all text in memory, making it very   
  8. fast to move to the top of the buffer from any point in the buffer.           
  9. ^^MOVE BOTTOM                                                                 
  10. Moves the cursor to the dummy last line at the end of the buffer. The screen  
  11. will scroll or repaint as required.                                           
  12. ^^MOVE HOME                                                                   
  13. The action of MOVE HOME depends on the position of the cursor within the      
  14. current line. If the cursor is not at the beginning of a line, it will move   
  15. there. If it is at the start of a line, it will wrap to the start of the      
  16. previous line. This command is normally bound to the <Home> key.              
  17. ^^MOVE END                                                                    
  18. The action of MOVE END depends on the position of the cursor within the       
  19. current line. If the cursor is not at the end of the line, it will move       
  20. there. If it is at the end of a line, it will wrap to the end of the next     
  21. line. Normally bound to the <End> key.                                        
  22. ^^MOVE UP                                                                     
  23. Moves the cursor up one line in the current buffer. There can be no action    
  24. if the cursor is already on the first line of the buffer. pEDIT keeps the     
  25. cursor as close as possible to the same column. This command is normally      
  26. bound to the <Up> key.                                                        
  27. ^^MOVE DOWN                                                                   
  28. Moves the cursor down one line in the current buffer. The cursor cannot move  
  29. if it is already on the dummy last line of the buffer. pEDIT keeps the cur-   
  30. sor as close as possible to the same column. This command is normally bound   
  31. to the <Down> key.                                                            
  32. ^^MOVE LEFT                                                                   
  33. Moves the cursor left one character position. If the cursor is at the begin-  
  34. ning of a line, it will wrap to the end of the previous line. Normally bound  
  35. to the <Left> key.                                                            
  36. ^^MOVE RIGHT                                                                  
  37. Moves the cursor right one character position. If the cursor is at the end    
  38. of a line, it will wrap to the beginning of the next line. This command is    
  39. normally bound to the <Right> key.                                            
  40. ^^MOVE WORD                                                                   
  41. Moves the cursor to the beginning of the next word in the current direction.  
  42. If the direction is Forward, it will move toward the end of the buffer; if    
  43. Reverse, toward the beginning of the buffer.                                  
  44.                                                                               
  45. The screen will either scroll or repaint depending on the state of Select.    
  46. If Select is active, the screen will be redisplayed. If Select is not         
  47. active, scrolling will take place to keep the cursor on the fourth line from  
  48. the top or bottom of the window.                                              
  49. ^^INSERT CHAR                                                                 
  50. This is the default when one of the typing keys is pressed. In Insert mode,   
  51. the character will be inserted into the buffer at the current cursor          
  52. position; text to the right of the cursor is "shoved over" to make room. In   
  53. Overstrike mode, the character is simply overwritten.                         
  54.                                                                               
  55. pEDIT uses automatic word wrap to keep text between the defined margins as    
  56. you type. If a word will not fit inside the current right margin, it will be  
  57. moved to the start of the next line. The first line of a paragraph will be    
  58. automatically indented if this parameter has been set via the SET PINDENT     
  59. command.                                                                      
  60.                                                                               
  61. When the Tab key is pressed, the cursor will move to the next tab stop. Only  
  62. standard tab stops at every eighth column are currently supported. Other      
  63. control characters are displayed as the ASCII symbol.                         
  64. ^^OPEN LINE                                                                   
  65. Opens up a new (empty) line for text insertion. The end result is the same    
  66. as pressing <Enter> followed by <Left> except that no indenting will take     
  67. place.                                                                        
  68. ^^FILL PARA                                                                   
  69. Reformats a paragraph or portion of a paragraph to fit within the defined     
  70. margins, resulting in a ragged right margin. Paragraph indenting is honored   
  71. for the first line. Tabs are ignored. Use this command after you have         
  72. inserted or deleted text or changed margins.                                  
  73.                                                                               
  74. The SET MARGINS and SET PINDENT commands are used to set the text margins     
  75. and paragraph indent, respectively. Reformatting begins at the current line   
  76. and stops at the end of the paragraph. A pararaph is defined as contiguous    
  77. text bounded by empty lines both above and below.                             
  78. ^^JUSTIFY PARA                                                                
  79. Fully justifies a paragraph or portion of a paragraph to fit within the       
  80. defined margins, resulting in both smooth left and right margins. Paragraph   
  81. indent is normally not used with justified text but is honored if set. Tabs   
  82. are ignored. Text is not automatically justified as you type; this command    
  83. is meant to be used to justify paragraphs after they have been entered.       
  84.                                                                               
  85. The SET MARGINS command is used to set the left and right margins. Reformat-  
  86. ting begins at the current line and stops at the end of the paragraph. A      
  87. paragraph is defined as contiguous text bounded by empty lines both above     
  88. and below.                                                                    
  89. ^^INDENT                                                                      
  90. This function is very useful in programming when you want to indent a sec-    
  91. tion of code in or out without having to manually edit each line. Indenting   
  92. is by levels where one level is 4 character positions or one-half a tab       
  93. stop. INDENT uses tabs and spaces to indent the line to the desired offset.   
  94.                                                                               
  95. To use INDENT (1) position the cursor to the start of the first line, (2)     
  96. toggle Select on, (3) highlight the entire range of lines to be indented and  
  97. (4) issue the "INDENT" or "INDENT n" command. Specify the number of levels    
  98. (n) as an integer - positive indents to the right, negative to the left.      
  99. ^^AUTO INDENT                                                                 
  100. This function is very useful in programming. It is used to automatically      
  101. indent a new line the same as the current line. pEDIT uses the same leading   
  102. whitespace (spaces and tabs) as the current line. AUTO INDENT is normally     
  103. used at the end of a line but the command can be issued anywhere. Normally    
  104. bound to <Ctrl-Enter>.                                                        
  105. ^^LEFT LINE                                                                   
  106. Aligns the current line (the line the cursor is on) flush with the left       
  107. margin. Only spaces are used to move the line to the appropriate offset.      
  108. ^^CENTER LINE                                                                 
  109. Centers the current line (the line the cursor is on) between the defined      
  110. margins. Only spaces are used to move the line to the appropriate offset.     
  111. ^^RIGHT LINE                                                                  
  112. Adjusts the current line (the line the cursor is on) to be flush with the     
  113. right margin. Only spaces are used to move the line to the appropriate off-   
  114. set.                                                                          
  115. ^^CAPITAL WORD                                                                
  116. Capitalizes the current word starting at the current position within the      
  117. word. The capitalization does not start at the beginning of the word; this    
  118. is to allow, for example, 'Compuserve' to be changed to 'CompuServe'.         
  119. ^^LOWER WORD                                                                  
  120. Converts the current word to lowercase starting at the current position       
  121. within the word. All characters from the cursor to the end of the word will   
  122. be changed to lowercase.                                                      
  123. ^^UPPER WORD                                                                  
  124. Converts the current word to uppercase. All characters from the cursor to     
  125. the end of the word will be changed to uppercase.                             
  126. ^^QUOTE CHAR                                                                  
  127. This function is used to enter special characters into the text. pEDIT        
  128. prompts with "Key code (1-255): "; at this point type in the decimal Ascii    
  129. character value and press <Enter>. For example, to insert a form feed (Ctrl-  
  130. L) you would enter the value 12.                                              
  131.                                                                               
  132. The feature can also be used with Find and Replace. To find a line feed       
  133. (Ctrl-J) if the QUOTE CHAR key is <Ctrl-V>, press the DO COMMAND key and      
  134. enter "FIND <Ctrl-V>10<Enter>".                                               
  135.                                                                               
  136. The LIST ASCII command displays the codes for all 255 characters. Extended    
  137. keys such as the PC keypad and function keys cannot be quoted. The graphics   
  138. characters (those above Ascii 127) cannot be entered by the very strange      
  139. method of holding down the Alt key and entering the decimal value of the      
  140. character on the numeric keypad.                                              
  141. ^^TRANS CHAR                                                                  
  142. Transposes (swaps) two characters of text within a line. The cursor must be   
  143. on the second character when you issue the command. The cursor cannot be      
  144. positioned past the end of the line.                                          
  145. ^^ERASE CHAR                                                                  
  146. Deletes the current character, i.e. the character the cursor is on. The       
  147. action is dependent on the current mode. In Insert mode, the character is     
  148. deleted and text to the right of the cursor is shifted left to "fill in the   
  149. hole". In Overstrike mode, the character is replaced by a space.              
  150. ^^ERASE PREV                                                                  
  151. Deletes the previous character - the character to the left of the cursor. In  
  152. Insert mode, the character is deleted and text to the right of the cursor is  
  153. again shifted toward the left. In Overstrike mode, the character is replaced  
  154. by a space. The command is permanently bound to the <BackSpace> key.          
  155. ^^ERASE WORD                                                                  
  156. Deletes text from the current position in a word to the end of the word. The  
  157. current mode and direction have no effect on the action taken; deletion is    
  158. always toward the end of the word.                                            
  159. ^^ERASE LINE                                                                  
  160. Erases a line or portion of a line. If the cursor is at the beginning of a    
  161. line, the entire line (including the end of line marker) is erased and        
  162. stored in the text buffer. If the cursor is not at the beginning of a line,   
  163. deletion is from the current position to the end of the line.                 
  164. ^^RESTORE TEXT                                                                
  165. Restores the text last deleted by ERASE WORD or ERASE LINE. This text is      
  166. stored in a special text buffer for later restoration. This text buffer is    
  167. rebuilt after every action so only the last erasure can be restored.          
  168.                                                                               
  169. This command along with REMOVE TEXT provide an "undo" capability. It is very  
  170. unlikely that anyone would ever need to "undo" hundreds of editing operat-    
  171. ions. A better approach is to "Save early, save often" so you can fall back   
  172. to the point of the last save.                                                
  173. ^^FIND                                                                        
  174. FIND is used to search for a text string. To initiate this function, press    
  175. the FIND key and respond to "String to find", or press DO COMMAND and enter   
  176. "FIND <text>". The direction of the search will be in the current direction.  
  177. You can cancel an active FIND operation by pressing the ABORT key.            
  178.                                                                               
  179. If the target string is all lowercase, the operation will be case-            
  180. insensitive; that is 'pedit' will match all of 'pedit', 'pEDIT' and 'PEDIT'.  
  181. If, however, the target contains any uppercase characters, the match will be  
  182. exact, i.e. 'pEDIT' matches only 'pEDIT'.                                     
  183.                                                                               
  184. Special symbols are used to match beginning of line (bol) and end of line     
  185. (eol). Use '\\<' for bol and '\\>' for eol. For example, '.\\>' matches a     
  186. period only if it is at the end of a line.                                    
  187. ^^FINDNEXT                                                                    
  188. Searches for the next occurrence of the last search string you specified. It  
  189. is best to have FINDNEXT bound to a key so only a single key press is requir- 
  190. ed to repeat the last search operation.                                       
  191. ^^REPLACE                                                                     
  192. pEDIT has a very powerful search and replace function. To initiate it,        
  193. either press the REPLACE key and reply to the "Old string:" and "New          
  194. string:" prompts, or press DO COMMAND and enter "REPLACE <old> <new>".        
  195.                                                                               
  196. pEDIT will search for each occurrence of 'old' and prompt you with "Replace   
  197. (Y)es (N)o (A)ll (L)ast (Q)uit: "                                             
  198.                                                                               
  199.     Y, Enter - replace this occurrence                                        
  200.     N        - skip this replacement                                          
  201.     A        - replace all occurrences from this point                        
  202.     L        - make this the last replacement and quit                        
  203.     Q        - quit.                                                          
  204.                                                                               
  205. Matching the old string will follow the rules listed for the FIND command.    
  206. The same wild cards that are useable in FIND may be specified for the 'old'   
  207. string only.                                                                  
  208. ^^GET FILE                                                                    
  209. Loads in a file from disk for editing. pEDIT supports wildcard file specif-   
  210. ications of the type '*.*' and '*.TXT'. If more than one file matches the     
  211. specification, you will be presented with a list of all matching file names   
  212. in alpha order. To select a file, use the arrow keys, type in the first       
  213. letter, or click on it with the left mouse button. Press <Enter> or double    
  214. click to load the highlighted file. Press the ABORT key to cancel.            
  215.                                                                               
  216. If no matching file exists, pEDIT will display "Creating file". If the file   
  217. does exist, it will be loaded into memory. It is very important to realize    
  218. that the file itself is still on disk and will remain unchanged unless you    
  219. save a modified buffer using the WRITE FILE command.                          
  220. ^^INCLUDE FILE                                                                
  221. Reads in the specified file from disk and inserts it into the buffer start-   
  222. ing at the current cursor location. The result is the same as if the user     
  223. typed in the text contained in the file.                                      
  224.                                                                               
  225. INCLUDE FILE should be used only for relatively small files. The function     
  226. uses the normal INSERT CHAR routine, not the much faster GET FILE which       
  227. loads text directly into memory.                                              
  228. ^^WRITE FILE                                                                  
  229. Saves the contents of the current buffer to disk without ending the editing   
  230. session. If a file name has not yet been specified, pEDIT will ask for one.   
  231.                                                                               
  232. pEDIT PLUS verifies that there is sufficient disk space BEFORE starting the   
  233. save operation.                                                               
  234.                                                                               
  235. You can change the name of the associated file at any time by using the       
  236. RENAME FILE command.                                                          
  237. ^^RENAME FILE                                                                 
  238. Changes the name of the disk file associated with the current buffer. The     
  239. new name will be used at the time of the next WRITE FILE operation. The       
  240. buffer name is also changed to reflect the new file name if that buffer name  
  241. is not already in use.                                                        
  242.                                                                               
  243. Use RENAME FILE when you want to save a file under a name other than the one  
  244. the it was called up under.                                                   
  245. ^^SHOW BUFFER                                                                 
  246. Displays detailed information about the current buffer: the buffer name,      
  247. associated file name, current mode/direction, number of lines and characters  
  248. of text, etc. The status line also shows the pEDIT version number.            
  249. ^^BUFFER                                                                      
  250. Use this command to switch between buffers. You will be presented with a      
  251. BUFFER window containing the names of all buffers except the COMMAND buffer.  
  252. The name of the first User buffer will be highlighted. To select a buffer,    
  253. use the up and down arrow keys, type in the first letter of a buffer name or  
  254. click on the name. Press <Enter> or double click to move to the selected      
  255. buffer. You can also Press ABORT to cancel.                                   
  256. ^^TRIM BUFFER                                                                 
  257. This function 'trims' the current buffer by removing trailing blanks from     
  258. all lines of text.                                                            
  259.                                                                               
  260. TRIM BUFFER is useful in any document where a left margin has been defined.   
  261. pEDIT automatically indents every line to the specified left margin, which    
  262. can result in "empty" lines between paragraphs. These empty lines can take    
  263. up a lot of space in a large document.                                        
  264. ^^CHANGE MODE                                                                 
  265. Used to toggle between Insert and Overstrike modes. If the mode is Insert     
  266. when the command is given, it will change to Overstrike and vice versa.       
  267. ^^CHANGE DIR                                                                  
  268. Use this command to toggle between the Forward and Reverse directions. Note   
  269. that only FIND, FINDNEXT, REPLACE and MOVE WORD use the buffer direction.     
  270. ^^MARK                                                                        
  271. Used to mark a particular place in a buffer so you can return to it at some   
  272. later time. Sometimes called a bookmark; there can be only one marker in      
  273. each buffer. pEDIT tries to stay as close as possible to the original mark    
  274. as text is inserted and deleted.                                              
  275. ^^GOTO MARK                                                                   
  276. This command moves to the position (line and offset) defined by the last      
  277. MARK command.                                                                 
  278. ^^LINE                                                                        
  279. The LINE command is used to "goto" a particular line in the current buffer.   
  280. Enter "LINE nn" to move to line number nn; if you enter LINE by itself,       
  281. pEDIT will prompt for a line number.                                          
  282. ^^ONE WINDOW                                                                  
  283. This function 'unsplits' the screen. If there are 2 windows on screen, the    
  284. current window - the one the cursor is in - becomes the only window. The      
  285. current window will occupy the full screen. The line the cursor was on when   
  286. the command was issued becomes the top line of the window.                    
  287. ^^TWO WINDOWS                                                                 
  288. 'Splits' the screen if there is only one window visible. Both windows will    
  289. initially show the same number of lines of the current buffer. The cursor     
  290. will be moved to the other window, anticipating that you want to load in      
  291. another file.                                                                 
  292. ^^OTHER WINDOW                                                                
  293. If the screen is split, this command will move the cursor to the other        
  294. window. The cursor will move to the row and column stored the last time the   
  295. cursor was in the window.                                                     
  296.                                                                               
  297. If you have a mouse, click anywhere in the other window to move to that       
  298. window.                                                                       
  299. ^^PREV LINE                                                                   
  300. Scrolls the current window up one line. This command is normally accessed     
  301. only with a mouse, by clicking on the UpArrow symbol at the top of the        
  302. Scroll Bar.                                                                   
  303. ^^PREV SCREEN                                                                 
  304. Moves the text window back one screen towards the beginning of the buffer.    
  305. This command should be bound to the <PgUp> key as it means "Page Up". The     
  306. screen is repainted rather than scrolled.                                     
  307. ^^NEXT LINE                                                                   
  308. Scrolls the current window down one line. This command is normally accessed   
  309. only with a mouse, by clicking on the DownArrow symbol at the bottom of the   
  310. Scroll Bar.                                                                   
  311. ^^NEXT SCREEN                                                                 
  312. Moves the text window forward one screen towards the end of the buffer. This  
  313. command should remain bound to the <PgDn> key as it means "Page Down". Again, 
  314. the screen is repainted rather than scrolled.                                 
  315. ^^SHIFT LEFT                                                                  
  316. Moves the window horizontally to the left (toward the left margin) the        
  317. specified number of columns. If no parameter is specified, the shift amount   
  318. will be 40 columns.                                                           
  319. ^^SHIFT RIGHT                                                                 
  320. Shifts the screen horizontally to the right - toward the end of the line -    
  321. by the number of columns you specify. This is to permit viewing text past     
  322. column 78. If no argument is specified, the screen will be shifted 40 col-    
  323. umns. The shift value is limited only by the maximum line length of 32767     
  324. characters.                                                                   
  325. ^^SELECT TEXT                                                                 
  326. This is a toggle that turns the select state on/off. If the state is off, it  
  327. will be turned on and vice versa. Selected text is highlighted in reverse     
  328. video as the cursor is moved. Select is automatically turned off after        
  329. REMOVE TEXT, STORE TEXT and WIPE TEXT commands. To cancel the selection,      
  330. i.e. turn the highlighting off, simply issue the command again.               
  331.                                                                               
  332. To select text with the mouse, move the mouse pointer to the start of the     
  333. desired block. Hold the left button down for at least 1/2 second, then        
  334. "drag" the mouse in any direction while continuing to hold the left button    
  335. down. You can even scroll up or down while selecting by dragging the mouse    
  336. pointer to the row just above or below the text window.                       
  337. ^^REMOVE TEXT                                                                 
  338. Removes (cuts) the selected text and stores it to the clipboard (paste buf-   
  339. fer). The clipboard is rebuilt every time REMOVE TEXT is invoked; therefore,  
  340. only the most recently deleted text can be reclaimed.                         
  341. ^^STORE TEXT                                                                  
  342. Copies the selected text to the clipboard without removing from the buffer.   
  343. Use this command whenever you want to make a copy of some text without        
  344. deleting it.                                                                  
  345. ^^WIPE TEXT                                                                   
  346. Deletes the highlighted block without copying it to the clipboard. WIPE TEXT  
  347. is much faster than REMOVE TEXT because the paste buffer does not have to be  
  348. rebuilt. This command is especially useful for deleting large amounts of      
  349. text; use it when you have no need to get the text back. There is no limit    
  350. on the size of the block that can be erased.                                  
  351. ^^INSERT HERE                                                                 
  352. Inserts text from the clipboard into the current buffer starting at the cur-  
  353. rent cursor position. Note that INSERT HERE can be invoked more than once to  
  354. make multiple copies of the stored text.                                      
  355. ^^LEARN                                                                       
  356. The LEARN command is used to start recording keystrokes. The recording will   
  357. continue until the REMEMBER command is given. pEDIT will store all typing     
  358. keys, function keys and special keys such as control keys. Note that mouse    
  359. button presses are not stored.                                                
  360.                                                                               
  361. Any key can be stored in a pEDIT macro. The only restriction is that a macro  
  362. containing a REPEAT command cannot itself be repeated.                        
  363. ^^REMEMBER                                                                    
  364. Used to end the keystroke recording started by LEARN. pEDIT will ask for a    
  365. key to bind to; press any of the definable keys on the keyboard. You cannot   
  366. bind to the Tab, Enter or BackSpace keys.                                     
  367.                                                                               
  368. A macro must also not be bound to a key that is contained within the macro.   
  369. If this happens, the macro routine will go into a loop and probably crash     
  370. the system.                                                                   
  371. ^^SAVE MACRO                                                                  
  372. Saves the currently defined key macro to disk. Enter only a file name; pEDIT  
  373. automatically adds the extension .PM1. The editor will write the macro file   
  374. in the directory pointed to by the current PEDIT PATH.                        
  375.                                                                               
  376. If a macro file of the same name already exists, you will be given the        
  377. chance to overwrite it or cancel.                                             
  378. ^^EXECUTE                                                                     
  379. Executes the macro previously defined by LEARN and REMEMBER. When this        
  380. command is issued, the keystrokes are 'replayed' as if you entered them.      
  381. There are two forms of this command: one for a key macro, one for a disk      
  382. macro.                                                                        
  383.                                                                               
  384. EXECUTE by itself is used for the single key macro. A command of the form     
  385. "EXECUTE filename" invokes a disk macro. Here, "filename" is a valid DOS      
  386. file name up to 8 characters in length without an extension. pEDIT            
  387. automatically adds the file type .PM1 to all disk macro file names.           
  388. ^^DO COMMAND                                                                  
  389. When the "DO" key is pressed the editor will respond with the 'Command: '     
  390. prompt. At this point you can enter any valid pEDIT command. Commands can be  
  391. upper- or lower-case or mixed. Note that commands must be entered in full     
  392. with spaces in between words. You can exit Command Mode without doing any-    
  393. thing by pressing <Enter> after the prompt.                                   
  394.                                                                               
  395. The Command line is a one-line window into the COMMAND buffer. All defined    
  396. keys can be used on the command line for editing the current line. Use MOVE   
  397. UP and MOVE DOWN to scroll through the stored commands.                       
  398. ^^RECALL                                                                      
  399. Used to recall the last command given via DO COMMAND. The end result is the   
  400. same as pressing the DO COMMAND key followed by the MOVE UP with one impor-   
  401. tant difference; the previous command is copied to the current command line.  
  402. The command can of course be edited before pressing <Enter> to begin          
  403. execution.                                                                    
  404. ^^DO BUTTON                                                                   
  405. Permits keyboard access to the ButtonBar for those users without a mouse.     
  406. This function is permanently bound to the <Shift-Esc> key and should not be   
  407. issued from the command line. When this key is pressed, the first button      
  408. will be selected and pEDIT will wait for your input. Use the <Left> and       
  409. <Right> keys to move from button-to-button, and press <Enter> to accept or    
  410. ABORT to cancel.                                                              
  411. ^^ABORT                                                                       
  412. pEDIT has a user-definable ABORT key which must be defined in the initial-    
  413. ization file. The actual key used depends on the configuration; ABORT is not  
  414. 'hard-wired' to <Ctrl-C> because WordStar uses <Ctrl-C> as a command key.     
  415.                                                                               
  416. ABORT can be used to abort out of any REPEAT, FIND, FINDNEXT or REPLACE       
  417. loop. You can also use it to cancel out of the DO BUTTON function, or any     
  418. BUFFER, FILES or HELP screen.                                                 
  419. ^^REFRESH SCREEN                                                              
  420. This command is used to clear and repaint the screen. Use REFRESH SCREEN if,  
  421. for any reason, the screen should be overwritten or otherwise obliterated.    
  422. ^^DEFINE SHIFT                                                                
  423. Defines a shift or "lead-in" key for multi-key commands. pEDIT must know      
  424. when to wait for a second keystroke. A shift key cannot be a command key by   
  425. itself.                                                                       
  426.                                                                               
  427. The shift keys must be defined in your initialization file before other key   
  428. definitions. Any non-typing key can be a shift key; a maximum of 4 shift      
  429. keys can be defined.                                                          
  430. ^^DEFINE KEY                                                                  
  431. Used to 'bind' a pEDIT command to the key of your choice. Pressing the speci- 
  432. fied key is equivalent to pressing DO COMMAND and typing in the associated    
  433. command. Here, 'command' refers to any valid pEDIT command entered in full    
  434. (no abbreviations) with or without parameters.                                
  435.                                                                               
  436. Keys can be defined dynamically during an editing session or, more commonly,  
  437. specified in your init file. When DEFINE KEY is issued from within the        
  438. editor, pEDIT will ask for a procedure name and a key press.                  
  439. ^^SHOW KEY                                                                    
  440. Displays the command bound to a key. pEDIT will prompt for a key press and    
  441. display the full command string, if there is one, bound to that key.          
  442. ^^LIST KEYS                                                                   
  443. Lists all defined keys and the commands bound to them. pEDIT will pause in    
  444. between screens; press any key to continue to the next screen.                
  445. ^^LIST ASCII                                                                  
  446. Displays the complete ASCII character set used by the IBM PC. Includes the    
  447. decimal value (1-255), the hexadecimal or "HEX" value (01H to FFH) and the    
  448. character. Very handy for programmers. The editor will pause in between       
  449. screens; press any key to continue to the next screen.                        
  450. ^^DRAW                                                                        
  451. This function is used to draw lines and boxes on the screen. The Mode and     
  452. Direction indicators on the Status Bar are replaced by the text "** DRAWING   
  453. MODE **". Only a subset of the defined keys are recognized:                   
  454.                                                                               
  455.     ABORT            Exit drawing mode and return to editing                  
  456.     MOVE UP          Move up one line, padding if necessary                   
  457.     MOVE DOWN        Move up one line, padding if necessary                   
  458.     MOVE LEFT        Move cursor left one column                              
  459.     MOVE RIGHT       Move right one column with padding                       
  460.     MOVE HOME        Position to start of line                                
  461.     MOVE END         Position cursor to end of line                           
  462.     -                Draw a single line/box using graphics chars              
  463.     =                Draw a double line/box using graphics chars              
  464.     +                Draw a line or box using standard chars                  
  465. ^^REPEAT                                                                      
  466. Lets you repeat any key press up to 32767 times. Only the next single key     
  467. press is repeated.                                                            
  468.                                                                               
  469. The repeat count is shown by 'Repeat: ' on the message line. Use <BackSpace>  
  470. to correct the count; set the count to zero if you wish to cancel.            
  471.                                                                               
  472. You can exit a REPEAT loop by pressing the ABORT key.                         
  473. ^^SET AUTOSAVE                                                                
  474. The autosave feature can be used to automatically save your work to disk. If  
  475. autosave is active, a WRITE FILE will be performed periodically to the cur-   
  476. rent buffer if changes have been made. The buffer will also be saved when a   
  477. new file is loaded or you switch buffers.                                     
  478.                                                                               
  479. The usage is "SET AUTOSAVE value". A value of zero turns the autosave         
  480. feature off; a value in the range 1-30 defines a save interval of 1 to 30     
  481. minutes.                                                                      
  482. ^^SET COLOR                                                                   
  483. Lets you choose foreground and background colors for your editing session.    
  484. For monochrome and CGA displays, the only legal color combinations are Black- 
  485. on-White and White-on-Black.                                                  
  486.                                                                               
  487. Only the basic 16 colors are supported on EGA/VGA color displays. The usage   
  488. is "SET COLOR fground bground". See the Appendix for a list of color codes.   
  489. ^^SET CURSOR                                                                  
  490. Lets you choose an underline or block cursor style to suit your personal      
  491. needs. The usage is "SET CURSOR uline|block".                                 
  492. ^^SET DISPLAY                                                                 
  493. Used to override pEDIT's video display type detection. This command can only  
  494. be used in the initialization file. Use it only if pEDIT cannot correctly     
  495. identify your video type. The syntax is "SET (DISPLAY, n)" where n = 0        
  496. (text); 2 (CGA); 9 (color EGA/VGA); 10 (mono EGA/VGA).                        
  497. ^^SET LINES                                                                   
  498. Lets you choose the number of lines of text that are shown on-screen. All     
  499. displays support 25 lines; 43 line mode requires EGA or VGA, while 50 line    
  500. mode (text mode only) requires VGA. Screen writing and scrolling are          
  501. generally much slower in 43-and 50-line modes. This command cannot be used    
  502. when the screen is split. The usage is "SET LINES 25|43|50".                  
  503. ^^SET MARGINS                                                                 
  504. Lets you set left and right text margins; the right margin controls where     
  505. text wraps. The default margins are 1 and 80. The left margin must be         
  506. greater than zero and the right margin has to be greater than the left. The   
  507. usage is "SET MARGINS left right".                                            
  508. ^^SET PINDENT                                                                 
  509. Used to set the paragraph indent, i.e. the number of columns by which to      
  510. indent the first line of a paragraph. The usage is "SET PINDNT nn" where nn   
  511. is zero or a positive integer.                                                
  512. ^^SET SCOPE                                                                   
  513. Specifies the "scope" for all FIND and REPLACE operations. If the scope is    
  514. Local, only the current buffer will be searched. If however the scope is      
  515. Global, all user buffers will be searched and 'Global' will show on the       
  516. status line. The format of this command is "SET SCOPE local|global".          
  517.                                                                               
  518. Things can quickly get out of hand if some buffers are searched in a forward  
  519. direction while others are searched in reverse. For this reason, the dir-     
  520. ection for all buffers is temporarily set to Forward during a global search.  
  521. ^^SET VIDEO                                                                   
  522. Lets you switch between text and graphics mode if you have a graphics dis-    
  523. play. pEDIT PLUS will start up in graphics mode if it detects a CGA/EGA/VGA   
  524. display; you can override this if you prefer the speed of text mode to the    
  525. graphical interface. The usage is "SET VIDEO text|graphics".                  
  526. ^^PRINT                                                                       
  527. Provides the ability to print directly from within pEDIT PLUS. This is done   
  528. by interfacing to the PRINT utility included with DOS 3.0 and greater. This   
  529. function is available only in registered versions of pEDIT. Use this command  
  530. to print the contents of the current buffer, print a selected portion of the  
  531. current buffer, delete a file from the print queue or cancel all print jobs   
  532. in the queue. The syntax is "PRINT buffer|block|delete|cancel".               
  533.                                                                               
  534. If the printer is off-line or out of paper, the PRINT DELETE and PRINT        
  535. CANCEL commands may not complete correctly. pEDIT should resume after the     
  536. problem is fixed.                                                             
  537. ^^SHOW PRINTER                                                                
  538. Displays the status of all jobs in the print queue in a special PRINTER       
  539. window. pEDIT shows a maximum of 10 jobs; this is the default number of       
  540. queue entries in the DOS PRINT utility. If there are more than 10 files       
  541. queued - the maximum is 32 - they will not be shown. Press any key or mouse   
  542. button to return to editing.                                                  
  543. ^^DOS                                                                         
  544. This function 'shells' you to DOS or passes a command to DOS for execution.   
  545. All text is swapped out to disk, and a second copy of the command processor   
  546. is loaded to process commands.                                                
  547.                                                                               
  548. If "DOS" is given without parameters, you will be shelled to DOS and will     
  549. see the DOS prompt. You may then enter DOS commands and do anything you can   
  550. do at the operating system level. Type 'EXIT' to return to the editor exact-  
  551. ly as you left it.                                                            
  552.                                                                               
  553. If parameters are specified, the command will be passed to DOS for execution  
  554. and the output will be shown in the DOS buffer.                               
  555. ^^HELP                                                                        
  556. Provides complete on-line help for every pEDIT PLUS command. pEDIT looks for  
  557. a help file named PEDIT.HLP in the directory pointed to by the PEDIT PATH.    
  558.                                                                               
  559. You will be presented with a HELP window containing an alpha list of all      
  560. pEDIT commands. Use the arrow keys, press the first letter of the command or  
  561. click the left mouse button to highlight the topic you want help with; press  
  562. <Enter> or double click to select that topic. The function can be cancelled   
  563. by pressing the ABORT key.                                                    
  564. ^^ALTHELP                                                                     
  565. Displays the contents of the files PEDIT.BTN and PEDIT.KEY in BUTTON and      
  566. KEYBOARD windows, respectively. The editor looks for these two files in the   
  567. directory specified by the PEDIT PATH.                                        
  568.                                                                               
  569. Provides help for the ButtonBar and the keyboard (usually a keyboard diagram  
  570. and/or a list of the keys you have defined).                                  
  571. ^^RULER                                                                       
  572. Toggles an on-screen ruler on and off. The ruler temporarily overwrites the   
  573. status line at the bottom of the window.                                      
  574. ^^QUIT                                                                        
  575. Aborts an editing session. Abort MEANS abort - any changes you have made      
  576. will be lost. If any User (non-system) buffers have been modified, pEDIT      
  577. gives you the option of not quitting by displaying "Buffer(s) modified -      
  578. quit (Y/N)? ". Enter Y to abort, N to cancel and resume editing.              
  579. ^^EXIT                                                                        
  580. Terminates the editing session and returns you to DOS. The current buffer is  
  581. automatically written to disk if it has been modified. If any of the other    
  582. user buffers have been altered, pEDIT asks you one at a time if you want to   
  583. write (save) them. Answer 'Y' to save the buffer, 'N' to skip it.             
  584.